WpfScheduler

StockSharp.Xaml

O escalonador de tarefas usou o temporizador WPF.

Herda de: Disposable

Construtores

WpfScheduler
public WpfScheduler(IEnumerable<TTask> tasks)
wpfScheduler = WpfScheduler(tasks)

Inicializa uma nova instância do WpfScheduler.

tasks
Tarefas.

Propriedades

Interval
public TimeSpan Interval { get; set; }
value = wpfScheduler.Interval
wpfScheduler.Interval = value

Intervalo.

Métodos

DisposeManaged
protected override void DisposeManaged()
wpfScheduler.DisposeManaged()

Libertar recursos.

Start
public void Start()
wpfScheduler.Start()

Começa.

Stop
public void Stop()
wpfScheduler.Stop()

Pára.

Eventos

Starting
public event Action<IEnumerable<TTask>> Starting
wpfScheduler.Starting += handler

A iniciar o evento de tarefas.

Stopping
public event Action<IEnumerable<TTask>> Stopping
wpfScheduler.Stopping += handler

A interromper o evento de tarefas.